
<?php if($this->uri->segment(3)=='edit') : ?>
    <?php echo form_hidden('nip',$_POST['nip']) ?>
<?php else: ?>
    <?php echo form_input(array('name'=>'nip','label'=>'NIP','size'=>'')) ?>
<?php endif ?>
<?php echo form_input(array('name'=>'nuptk','label'=>'NUPTK','size'=>'')) ?>
<?php echo form_input(array('name'=>'nama','label'=>'Nama','size'=>'50')) ?>
<?php echo form_input(array('name'=>'gelar','label'=>'Gelar','size'=>'')) ?>
<?php echo form_dropdown('jenis_kelamin_id',$this->referensi->get_list_referensi('jenis_kelamin','id','jenis_kelamin'),null,null,array('label'=>'Jenis Kelamin'))?>
<?php echo form_input(array('name'=>'tempat_lahir','label'=>'Tempat Lahir','size'=>'50')) ?>
<?php echo form_input(array('name'=>'tanggal_lahir','label'=>'Tanggal Lahir','size'=>'', 'class'=>'tanggal')) ?>
<?php echo form_dropdown('agama_id',$this->referensi->get_list_referensi('agama','id','agama'),null,null,array('label'=>'Agama'))?>
<?php echo form_input(array('name'=>'alamat','label'=>'Alamat','size'=>'50')) ?>
<?php echo form_input(array('name'=>'hp','label'=>'Handphone','size'=>'15','maxlength'=>'15')) ?>
<?php echo form_input(array('name'=>'telepon','label'=>'Telepon','size'=>'15','maxlength'=>'15')) ?>
<?php echo form_input(array('name'=>'email','label'=>'Email','size'=>'')) ?>
<?php echo form_input(array('name'=>'foto','label'=>'Foto','type'=>'file')) ?>
<?php echo form_input(array('name'=>'tanggal_diangkat','label'=>'Tanggal Diangkat','size'=>'', 'class'=>'tanggal')) ?>
<?php echo form_dropdown('jenjang_pendidikan_id',$this->referensi->get_list_referensi('jenjang_pendidikan','id','jenjang_pendidikan'),null,null,array('label'=>'Pendidikan Terakhir'))?>
<?php echo form_dropdown('status_guru_id',$this->referensi->get_list_referensi('status_guru','id','status_guru'),null,null,array('label'=>'Status'))?>
